<include file="Public:header1" />

 <link rel="stylesheet" href="__CSS__/user_info.css" />
 <script src="__JS__/user_info.js"></script>
  <div id="show_user_info_div">
    <!--用户中心导航-->
    <div class="navbar" style="margin-bottom:0px;">
       <div class="navbar-inner" style="background:#E4E4E4;">
         <div class="container">
           
           <ul class="nav">
           <?php
             if($_SESSION['user']['photo']==null){
            ?>
             <li><img src="__USER_PHOTO__/0.jpg" alt="" height="30px" width="30px" style="margin-top:5px;"></li>
             <li>
             <?php
             }else{
              ?>
              <li><img src="__PHOTO__/<?php echo $_SESSION['user']['photo'] ?>" alt="" height="30px" width="30px" style="margin-top:5px;"></li>
              <li>
              <?php } ?>
               <a href="__APP__/UserInfo/show_user_info?username=<?php echo $_SESSION['username'] ?>"> <?php echo $_SESSION['user']['username'] ?></a>
             </li>
             <li class="divider-vertical"><a href="#"></a></li>
             <li>
              <a href="#confire-logout-win" data-toggle="modal">退出</a>
             </li>
             <li id="user_tool" class="dropdown">
               <a class="dropdown" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-cog"></i>工具<b class="caret"></b></a>
               <ul class="dropdown-menu">
                  <li><a id="modify_user_info">修改用户名</a></li>
                  <li><a id="complete_user_info">完善资料</a></li>
                  <li><a id="modify_photo">修改图像</a></li>
                  <li><a id="modify_pwd">修改密码</a></li>
     		   </ul>
               
             </li>
             <li id="user_info">
               <a id="user_info_notice"><i class="icon-envelope"></i>消息</a>
             </li>
             <li id="user_edit" class="dropdown">
               <a href="#" class="dropdown" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-edit"></i>编辑<b class="caret"></b></a>
                <ul class="dropdown-menu">
                  <li><a  id="user_info_publish_gl">发布新攻略</a></li>
                  <li><a id="user_info_publish_tz">发布新帖</a></li>
     		    </ul>
             </li>
             <li>
               <a href="">提示</a>
             </li>
           </ul>
         </div> 
       </div> 
  </div> 
       
          <!--用户信息具体内容-->
   <div id="user_content" style="margin-bottom:0;">
     <div id="user_info_edit_nav_div">
         <div id="user_info_edit_nav"><span><i class="icon-home"></i>当前位置</span>>
      <span><a href="__APP__/UserInfo/show_user_info?username=<?php echo $_SESSION['username'] ?>"><?php echo $_SESSION['user']['username'] ?></a></span>><span>发表新攻略</span>
     </div>
     </div>

     
      <div id="show_user_info_div" class="container">
         <div class="well-large" >
          <div>
          <?php if($_SESSION['user']['photo']==null){ ?>
          <span><img src="__USER_PHOTO__/0.jpg" alt="" height="60px" width="60px"></span>
          <?php } else{
          ?>
          <img src="__PHOTO__/<?php echo $_SESSION['user']['photo'] ?>" alt="" height="60px" width="60px" style="margin-top:5px;">
          <?php
          
          }?>
          <span><?php echo $_SESSION['user']['username'] ?></span> </div> 
            
            <div class="tabbable">
              <ul class="nav nav-tabs">
                <li ><a href="" data-toggle="tab" id="user_info_tz">帖子</a></li>
                <li><a href="" id="user_info_gl" data-toggle="tab">攻略</a></li>
                <li><a href="" id="user_info_ly" data-toggle="tab">留言板</a></li>
                <li class="active"><a href="" id="user_info_info" data-toggle="tab">个人资料</a></li>
              </ul>
            </div>
       </div>      
      
            
            <div id="user_info_jt_show_wind_div">
               
            </div>
         
        </div>
      </div> 
 
 
 
 <!--底端导航-->
  <div class="navbar" style="margin-top:0px; margin-bottom:0px;padding-top:0;" >
       <div class="navbar-inner" style="background:#E4E4E4;">
         <div class="container">
          <ul class="nav">
             <li>
               <a href="">欢迎你<?php echo $_SESSION['user']['username']?>的加入</a>
             </li>
             </ul>
         </div>
      </div>
   </div>
   
 </div>
<include file="Public:footer" />
